package com.itrencai.d1_static.demoextends;

public class Teacher extends People{
    private String department;

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    //独有的行为
    public void write(){
        System.out.println(getName()+"填写听课反馈~~~");
    }
}
